package Y2024.M11.D7;

import java.math.BigDecimal;
import java.util.Scanner;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 25228
 * Date: 2024-11-07
 * Time: 9:29
 */
public class Main {
    public static void main(String[] args) {
        int n=2;
        BigDecimal sum=new BigDecimal(0);
        BigDecimal b=new BigDecimal(1);
        for (int i = 1; i <= n; i++) {
            b=b.multiply(BigDecimal.valueOf(i));
            sum=sum.add(BigDecimal.ONE.divide(b,20,BigDecimal.ROUND_UP));
        }
        System.out.println(sum);
    }
}
